package com.lanju.service;


import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.lanju.entity.Appointment;
import com.lanju.model.ResultModel;

public interface AppointmentService {
		
	ResultModel edit(Appointment appointment);
	
	Appointment getById(String id);
	
	Appointment getByParam(Appointment appointment);
	
	Map<String, Object> getList(Map param, int pageSize, int offset);

	Map<String,Object> delAppointment(String id);
	
	ResultModel add(Appointment appointment,HttpServletRequest request, HttpServletResponse response);
	
	ResultModel del(Appointment appointment);
}
